<?php defined('SYSPATH') or die('No direct access');

// Remove the standard default route
unset($configuration['_default'], $config['_default']);

$config['default'] = array
(
	'uri' => ':controller/:method/:id',
	'defaults' => array
	(
		'controller' => 'category',
		'method' => 'index',
		'id' => FALSE,
	),
);

$config['admin'] = array
(
	'uri' => 'admin/:controller/:method/:id',

	'defaults' => array
	(
		'controller' => 'dashboard',
		'method' => 'index',
		'id' => FALSE,
	),
	'prefix' => array
	(
		'controller' => 'admin_',
	)
);
  
/*$config['_default'] = 'forum/index';*/
